from likeshop_project.BASE.myBase import Tools
from likeshop_project.API.login_api import login_module

class getRegion_module(Tools):
    path = "api/region/lists"

    def getRegion_action(self):
        url = self.host_url + self.path

        head = login_module(session=self.session).get_head()
        msg = self.session.get(url=url, headers=head)
        return msg.json()
